//
// isr.c -- High level interrupt service routines and interrupt request handlers.
//          Part of this code is modified from Bran's kernel development tutorials.
//          Rewritten for JamesM's kernel development tutorials.
//

#include "common.h"
#include "isr.h"
#include "printk.h"
#include "monitor.h"

// This gets called from our ASM interrupt handler stub.
void isr_handler(registers_t regs)
{
//	monitor_write("intertupt");
	printk("received interupt 0x%x \n", regs.int_no);
	printk("error: 0x%x\n", regs.err_code);
	printk("EIP: 0x%x\n", regs.eip);
	printk("CS: 0x%x\n", regs.cs);

}	
